var domains = {
    "google.com": 1,
    "*.google.com": 1,
    "facebook.com": 1,
    "*.facebook.com":1,
    "service.bupt.edu.cn":1
};

var proxy = "PROXY 10.112.149.155:6868;";

var direct = 'DIRECT;';

function FindProxyForURL(url, host) {
    if(shExpMatch(host,"service.bupt.edu.cn"))
    {
        return proxy;
    }
    else
        return direct;
}